package org.smarthings.things.commons.rest;

import java.net.URI;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "discovery")
@XmlRootElement(name = "discovery")
public class DiscoveryResource extends BasicResource {

	private URI things;
	private URI rules;

	@XmlElement(name = "things", required = true)
	public URI getThings() {
		return things;
	}

	public void setThings(URI things) {
		this.things = things;
	}

	@XmlElement(name = "rules", required = true)
	public URI getRules() {
		return rules;
	}

	public void setRules(URI rules) {
		this.rules = rules;
	}

}
